package com.lanchetech.dao;

import com.lanchetech.bean.request.PageReq;import com.lanchetech.entity.Spec;
import org.apache.ibatis.annotations.Mapper;import java.util.List;

@Mapper
public interface SpecMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Spec record);

    int insertSelective(Spec record);

    Spec selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Spec record);

    int updateByPrimaryKey(Spec record);

    List<Spec> findAllPage(PageReq req);

    List<Spec> findAll();


}